package com.liuyanban.dao.user;

import java.util.Collection;

import com.liuyanban.dao.base.BaseDao;
import com.liuyanban.domain.user.Role;

public interface RoleDao extends BaseDao<Role> {
	public Role getRoleByName(final String name);

	public Collection<Role> getRoleByUid(Long userid);
}
